#ifndef CONVERSION_H_
#define CONVERSION_H_
#include "global.h"
#include <vector>
namespace tinyscript {
namespace internal{

// String to double routine. Anyway, to use this is to make the code can easily switch
// between different type define of char_t. And internally, some faster approach may be
// used to make the routine of StringToDouble faster than using the standard library.
double StringToDouble( const std::vector<char_t>& str , size_t start , size_t end );

// String to int routine. Anyway, to use this is to make the code can easily switch
// between different type define of char_t. And internally, some faster approach may be
// used to make the routine of StringToDouble faster than using the standard library.
int StringToInt( const std::vector<char_t>& str , size_t start , size_t end );

}
}

#endif // CONVERSION_H_